/* Switch messages from L2 towards L1 */

/* Copyright (C) 2013 Integrated System Laboratory ETHZ (SharperEDGE Team)
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#include <l1ctl_proto.h>

/* switch messages */
void l2l1_switch(int s, uint32_t *mmfile);

/* send RESET_REQ from socket to phydev */
void l2l1_reset_req(uint32_t *mmfile, struct l1ctl_reset *msg);

/* send PM_REQ from socket to phydev */
void l2l1_pm_req(uint32_t *mmfile, struct l1ctl_pm_req *msg);

/* send FBSB_REQ from socket to phydev */
void l2l1_fbsb_req(uint32_t *mmfile, struct l1ctl_fbsb_req *msg);

/* send CCCH_MODE_REQ from socket to phydev */
void l2l1_ccch_mode_req(uint32_t *mmfile, struct l1ctl_ccch_mode_req *msg);
